package com.silence.whereeat;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.Window;
import android.widget.Button;

public class UploadActivity extends Activity {

	Button takepic;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		this.setContentView(R.layout.upload);
		takepic=(Button) findViewById(R.id.upload_takepicbtn);
		takepic.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View arg0) {
				Intent intent=new Intent();
				intent.setClass(getApplicationContext(), TakePicActivity.class);
				startActivity(intent);
			}
		});
	}


}
